home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Palettes / MiscProgressPalette / MiscProgressView.subproj / MiscProgressBar.h < prev    next >
Text File  |  1995-04-12  |  1KB  |  43 lines

  1. //
  2. //    MiscProgressBar.h -- a simple view class for displaying progress bar
  3. //        Written and Copyright (c) 1993 by James Heiser.  (jheiser@adobe.com)
  4. //                Version 1.0.  All rights reserved.
  5. //
  6. //        This notice may not be removed from this source code.
  7. //
  8. //    This object is included in the MiscKit by permission from the author
  9. //    and its use is governed by the MiscKit license, found in the file
  10. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  11. //    for a list of all applicable permissions and restrictions.
  12. //    
  13.  
  14. #import "MiscProgressView.h"
  15.  
  16. @interface MiscProgressBar:MiscProgressView
  17. {
  18.     NXColor tc; // tick color
  19.     BOOL    isTicsVisible;
  20.     BOOL    isTicsOverBar;
  21.     int        numTicks;
  22.     int        emphasis;
  23. }
  24.  
  25. - initFrame:(const NXRect *)frameRect;
  26. - (NXColor)tickColor;
  27. - setTickColor:(NXColor)color;
  28. - renderTicks;
  29. - renderBar;
  30. - setTicsVisible:(BOOL)aBool;
  31. - (BOOL)isTicsVisible;
  32. - setTicsOverBar:(BOOL)aBool;
  33. - (BOOL)isTicsOverBar;
  34. - setNumTicks:(int)anInt;
  35. - (int)numTicks;
  36. - setEmphasis:(int)anInt;
  37. - (int)emphasis;
  38. - read:(NXTypedStream*)stream;
  39. - write:(NXTypedStream*)stream;
  40. - (const char *)getInspectorClassName;
  41.  
  42. @end
  43.